package com.moore.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.moore.bean.Candidate;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.web.bind.annotation.Mapping;

@Mapper
public interface LoginMapper extends BaseMapper<Candidate> {

    //用账号（手机号）密码登录
    Candidate LoginByPwd(@Param("account") String account,@Param("password")String password);
}
